home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / graphics / starw320.zip / STARREAD.ME < prev    next >
Text File  |  1992-09-05  |  24KB  |  383 lines

  1.                   STARWARE...    version 3.20
  2.  
  3. ***********************************************************************
  4. **                                                                   **
  5. **         The graphics in this program are really good!  But...     **
  6. **     room lights will usually totally wash out the effect.  For    **
  7. **     most monitors you will be able to see a lot more of the       **
  8. **     stars, and even see their colors, if you turn off all the     **
  9. **     lights and just use the illumination from the monitor.        **
  10. **                                                                   **
  11. ***********************************************************************
  12.  
  13.  
  14. ***********************************************************************
  15. **                                                                   **
  16. **                         --- HISTORY ---                           **
  17. **                                                                   **
  18. **     ORIGINAL RELEASE: 6/2/91                                      **
  19. **                                                                   **
  20. **     BUG FIXES: 6/12/91                                            **
  21. **         Corrected a problem with updating the drawing of the      **
  22. **     constellations.  The calculations were accurate, but the      **
  23. **     shapes were not correct when plotted on the screen.           **
  24. **         Corrected a minor miscalculation of the effect of         **
  25. **     the stars' proper motion in right ascension.                  **
  26. **                                                                   **
  27. **     BUG FIXES: 6/18/91                                            **
  28. **         Sometimes parts of constellations would be drawn          **
  29. **     below the horizon.  This was fixed, but at the cost of        **
  30. **     significantly increasing the size of the code in the          **
  31. **     emulator version: staremw.exe.  It is now compiled with       **
  32. **     the "medium" memory model, and is about 20K larger than       **
  33. **     starware.exe, which makes use of a math coprocessor.          **
  34. **                                                                   **
  35. **     BUG REPORTS: 6/18/91                                          **
  36. **         One user has reported that the mouse cursor does not      **
  37. **     appear on the screen when the auto-sensed default VGA         **
  38. **     mode is used.  When the mouse is moved to the top or the      **
  39. **     left of the screen, the azimuth or elevation is changed,      **
  40. **     so the problem is only in the display, not in the sensing     **
  41. **     of the rodent.  His system uses a Logitech mouse and a        **
  42. **     Video-7 graphics card.  When the program is forced to run     **
  43. **     in mode 10h (the high-resolution EGA mode), everything        **
  44. **     seems to be fine.  I have not been able to reproduce this     **
  45. **     behavior...  If anyone else has similar problems, please      **
  46. **     let me know.                                                  **
  47. **                                                                   **
  48. **     ENHANCEMENTS: 7/20/91                                         **
  49. **         On VERY high-speed machines the time to switch between    **
  50. **     the text mode used by the "variable" menu and the graphics    **
  51. **     mode used to display the sky was much longer than any of      **
  52. **     the other calculations.  Many people didn't mind, but for     **
  53. **     some it was really irritating.  The logic has been changed    **
  54. **     so that the "variable" menu now comes up in the current       **
  55. **     graphics mode; the time delay for mode-switching has been     **
  56. **     eliminated.                                                   **
  57. **         Some users have been confused by the time parameters.     **
  58. **     All times are given in "Universal Time" (that's what the      **
  59. **     UT symbol means in the upper right-hand corner of the sky     **
  60. **     display).  This is the clock time at 0 degrees longitude.     **
  61. **     To translate this to local standard time, figure that one     **
  62. **     hour is equivalent to 15 degrees of longitude.  For           **
  63. **     instance, if the observer were at -120 degrees East           **
  64. **     Longitude (about where Los Angeles is), the local standard    **
  65. **     time would be (-120/15) = 8 hours earlier.  The July 11,      **
  66. **     1991 eclipse peaked on the Pacific Coast at about 2030 UT,    **
  67. **     so people in Los Angeles saw it at about 1230 PST.  (And      **
  68. **     this is further complicated by the fact that California was   **
  69. **     on Daylight Saving Time rather than Standard Time... The      **
  70. **     clocks said it was 1130.)  With all these local               **
  71. **     complications in time-keeping, it is far simpler to use       **
  72. **     Universal Time for all the calculations.                      **
  73. **                                                                   **
  74. **     ENHANCEMENTS: 11/19/91                                        **
  75. **         Minor changes in the function that detects and            **
  76. **     translates the keyboard input were made.  According to        **
  77. **     Microsoft's "Profiler", significantly less time is spent      **
  78. **     reading and interpreting the keyboard.  The casual user       **
  79. **     (including the author!) will be hard pressed to see any       **
  80. **     difference!                                                   **
  81. **                                                                   **
  82. **     ENHANCEMENTS: 12/12/91   (Version 3.10)                       **
  83. **           An "automation" utility was added.  The program can     **
  84. **     now continuously step through time or azimuth, with a         **
  85. **     user-adjustable additional delay between each display.        **
  86. **     (Use CTRL-a to get the automation menu; the time delay        **
  87. **     is on the "variable" (keystroke v) menu. (Hitting ESC         **
  88. **     (or q or Q) stops the automation.)  This is most useful       **
  89. **     on 386 machines with a co-processor or on 486 platforms.      **
  90. **     The time delay is measured in milliseconds; on slower         **
  91. **     machines it probably should be permanently set at 1.          **
  92. **     (On a 10 MHz 286 with a coprocessor it takes 1-3 seconds      **
  93. **     to update the sky; in most cases you'd not want to add        **
  94. **     even more delay!)  On the other hand, on a 33 MHz 486         **
  95. **     the updates can be so fast that its hard to follow the        **
  96. **     changes.  Additional delays on the order of 100-300 msec      **
  97. **     tend to improve the display.  It's also a matter of           **
  98. **     personal preference: try experimenting until it looks good!   **
  99. **           One use for the automation utility might be to          **
  100. **     show the change in the North star location and the shape      **
  101. **     of Ursa Minor. (Set the latitude to 90 on the variable        **
  102. **     menu, then "find" Polaris with the constellation default      **
  103. **     set to "always plot the constellations".  Then select         **
  104. **     "Plus 1000 Years" on the automation menu.)  Another use       **
  105. **     might be to watch the motion of the planets.  (Choose to      **
  106. **     always have to visible planets surrounded by a box, set       **
  107. **     the magnification to the widest possible field-of-view,       **
  108. **     set the date to June 22 and the hour to local noon, then      **
  109. **     "find" the Sun.  Adjust the elevation so that the sun is      **
  110. **     near the top of the screen (if the latitude is in the         **
  111. **     northern hemisphere) and select "Plus 1 Day" from the         **
  112. **     automation menu.  This works best if the constellations       **
  113. **     are  not plotted on each update.)                             **
  114. **           The logic used in drawing boxes around the visible      **
  115. **     planets has been changed (due to feedback from users).        **
  116. **     If a planet is selected by either the "find" procedure        **
  117. **     or by hitting a numerical key (1-9), only that planet         **
  118. **     will have a box drawn around it.  This is useful when         **
  119. **     the sky is being "automated" and you want to follow the       **
  120. **     motion of just a single planet.  The "one-planet-only"        **
  121. **     option can be restored to the "all-visible-planets" by        **
  122. **     hitting Alt-b.                                                **
  123. **           A couple minor bugs were fixed that caused the very     **
  124. **     first sky display to be fouled up on some machines if the     **
  125. **     program had been called several times in succession with      **
  126. **     no intervening programs.                                      **
  127. **                                                                   **
  128. **     BUG FIXES:  1/25/92                                           **
  129. **           A user reported that, if the mouse cursor was currently **
  130. **     being displayed and the F1 key was hit (to get into the       **
  131. **     command list or "help menu"), and then F2 was hit to go back  **
  132. **     to the sky display, the mouse cursor disappeared.  What was   **
  133. **     worse, there was no way to get it back again.  Evidently the  **
  134. **     program was still keeping track of its position, because the  **
  135. **     usual changes in azimuth and elevation were being properly    **
  136. **     implemented...  It just wasn't possible to tell where the     **
  137. **     cursor was.                                                   **
  138. **           An interim fix was to just make sure that the mouse     **
  139. **     cursor was turned off before hitting F1.  This has now been   **
  140. **     corrected, so that it doesn't matter if the cursor is         **
  141. **     displayed or not before invoking the command list.            **
  142. **           Another irritating problem was reported by several      **
  143. **     users: even if a star had not been selected, clicking the     **
  144. **     left mouse button when the cursor was below the currently     **
  145. **     displayed horizon would often (not always!) result in star    **
  146. **     parameters being displayed.  This has also been fixed.        **
  147. **                                                                   **
  148. **     ENHANCEMENTS:  9/5/92  (Version 3.2)                         **
  149. **           A lot of stuff was added in this release: support for   **
  150. **     a SuperVGA mode (finally!), more sky objects, and a couple    **
  151. **     of new commands.  (And all the bugs that were reported...     **
  152. **     so far... have been fixed.)                                   **
  153. **                                                                   **
  154. **           SuperVGA Support:  The standard 800x600x16 mode can     **
  155. **     now be used.  As a default, STARWARE checks to see if VESA    **
  156. **     software support is available, and, if so, whether or not     **
  157. **     it can make use of VESA mode 102h.  Almost all SVGA cards     **
  158. **     have a VESA driver; this has become the standard way of       **
  159. **     making graphics cards from different manufacturers at least   **
  160. **     partially compatible.  (If your card doesn't support the      **
  161. **     VESA standard in either software or hardware, you can         **
  162. **     probably get a driver just by asking your board's             **
  163. **     manufacturer or distributor for one.)                         **
  164. **           If you know that your card and monitor will support     **
  165. **     the 800x600x16 (four plane) mode, but have not installed      **
  166. **     the VESA driver, you can force STARWARE to use that mode      **
  167. **     by typing:                                                    **
  168. **                                                                   **
  169. **                   starware ###                                    **
  170. **                                                                   **
  171. **     where ### is the (decimal!) mode number that your board's     **
  172. **     manufacturer has assigned to this particular mode.  (There    **
  173. **     is NO standardization for mode numbers above 19h (25          **
  174. **     decimal), which is why the VESA standards were invented.)     **
  175. **           If the SVGA capability is not detected, the program     **
  176. **     will first look for VGA capability (640x480x16), and then     **
  177. **     for EGA (640x350x16) capability, just as in previous          **
  178. **     releases.                                                     **
  179. **           A problem arose in making the 800x600 resolution        **
  180. **     available: neither Microsoft nor Logitech supports that       **
  181. **     mode with their mouse drivers.  The Microsoft driver (up to   **
  182. **     Version 8.1) doesn't even acknowledge that such a mode        **
  183. **     exists, and the Logitech driver (up to Version 6.00) has      **
  184. **     bug that paints a black square every time a button is         **
  185. **     clicked.  This edition of STARWARE makes use of function      **
  186. **     20 of mouse interrupt 33h to overcome the problem.  If you    **
  187. **     have an older mouse driver that doesn't support this          **
  188. **     function, newer drivers are available on a lot of Bulletin    **
  189. **     Boards, or directly from the manufacturer.                    **
  190. **                                                                   **
  191. **           More Sky Objects:  Some users weren't happy that only   **
  192. **     the "easiest" (i.e. brightest) Messier objects were in        **
  193. **     the previous releases.  Version 3.2 now includes ALL the      **
  194. **     Messier objects.  As long as the data base was being          **
  195. **     upgraded, I threw in several other interesting things: some   **
  196. **     of the more powerful radio sources, some "named" galaxies     **
  197. **     ("Sombrero", "Whirlpool", etc.), the more famous Quasi-       **
  198. **     Stellar-Objects, and so on.  This also required a major       **
  199. **     increase in the number of names that can be found using the   **
  200. **     "Find" procedure.                                             **
  201. **                                                                   **
  202. **           New Commands:  Two new keyboard commands have been      **
  203. **     added: "r" (or "R") and "l" (or "L").  The "r" commands       **
  204. **     show a Right Ascension-Declination grid ("r" for "Right").    **
  205. **     "r" toggles the grid on and off, and "R" toggles the default  **
  206. **     (always show the grid automatically, or never show the grid   **
  207. **     automatically).  The "l" commands display the names of the    **
  208. **     constellations ("l" for "label").  (Actually, to conserve     **
  209. **     screen space, only the three-letter abreviations are shown.)  **
  210. **     "l" toggles the labels on and off, and "L" toggles the        **
  211. **     default.  The labels, even with the default on, will only be  **
  212. **     shown if the constellation is actually being displayed.       **
  213. **                                                                   **
  214. **               Logic Changes:  Users may now use Local Time in     **
  215. **     all of the calculations.  The difference between Universal    **
  216. **     Time and Local Time must be entered on the "Variable List"    **
  217. **     menu.                                                         **
  218. **                                                                   **
  219. ***********************************************************************
  220.  
  221.  
  222. ______________________________________________________________________
  223.  
  224.                   Thank you for trying STARWARE;
  225.          I hope you'll find it both useful and entertaining.
  226. ______________________________________________________________________
  227.  
  228. LEGAL STUFF
  229.  
  230.    This set of programs is shareware: it is copyrighted, but may be
  231. freely distributed as long as all the files, including this one,  are
  232. kept together.  (This is my one chance to ask for a registration fee.)
  233. Other than that, no restrictions.
  234.  
  235.    Also, there are no warrantees or guarantees: the software is being
  236. made available "as is".  It has worked without a problem on DOS
  237. machines from XT-class to i486's, at speeds from 4.7 to 33 MHz, with
  238. and without math coprocessors or expanded/extended memory, but there is
  239. no way to test it on all the possible configurations that might exist.
  240.  
  241.    Since it is possible to run the program from a floppy disk, prudence
  242. might suggest that this is the way to first try it out.  (It takes a
  243. while to load all the data files when a floppy is used; if it works OK
  244. on your machine when you are using a floppy, you might consider
  245. transferring the files to your hard disk.  Much less aggravation!)
  246.  
  247.    Every effort has been made to assure that the star database is
  248. accurate and that the calculations are properly done, but it seems to
  249. be a law of nature that bugs will be uncovered if enough people use the
  250. program in enough different ways.  Please let me know if you uncover
  251. one of these critters; I want to make this right!
  252. ______________________________________________________________________
  253.  
  254. SHAREWARE
  255.  
  256.    I'm counting on the hope that each user who plays around with
  257. STARWARE for a while will think that the shareware fee is reasonable;
  258. it's only $32.00.  If you do think that this is a fair price, please
  259. send a check to:
  260.  
  261.          Arthur B. Prag
  262.          17357 Hartland St.
  263.          Van Nuys, CA 91406-4416
  264.  
  265.    I have deliberately NOT included a reminder that pops up on the
  266. screen every time you use the program...  This may be poor business
  267. practice, but that kind of thing drives me straight up the wall!  This
  268. is the only request for support that I'll make.
  269.  
  270.    In return for your registration, I'll send you a copy of the
  271. STARWARE manual (about 90 pages) which lists all the stars used and
  272. details the assumptions and limitations of the program.  You will
  273. also be put in the database for future upgrades (unless you request
  274. otherwise); these will be made available to registered users for
  275. considerably less than for new users.  Until a MAJOR revision comes
  276. out, one that will require a new manual, I'll ask just enough to pay
  277. for the materials and postage if you need a disk; I hope that most
  278. registered users will get the upgraded programs from a bulletin board.
  279. (Sending out disks is a real PAIN!  I'd much rather be playing around
  280. trying to improve STARWARE.)
  281. ______________________________________________________________________
  282.  
  283. COMPATIBILITY, LIMITATIONS, ETC.
  284.  
  285.    Please note that (at least in its present incarnation) the program
  286. supports EGA, VGA, or SVGA (mode 102h) graphics, but no others.  In
  287. particular, it does NOT support Hercules (native mode), or CGA cards.
  288. If there seems to be a demand for Hercules support, this may be added in
  289. the future.
  290.  
  291.    The accuracy of the star calculations is excellent, but the positions
  292. of the planets and of the moon are good for only a few thousand years.
  293. In a practical sense, this only shows up in estimating planetary
  294. occultations of particular stars and in the precise ground track of
  295. eclipses; suggestions on how to improve this and still maintain a
  296. reasonable computation time are definitely solicited!
  297.  
  298.    There are a LOT of calculations made whenever the sky is updated!
  299. In addition to just worrying about precession (so that only the
  300. coordinate system would have to be changed), the proper motions of the
  301. stars are included, so the relative star positions change also.  If you
  302. have an 80x87 math coprocessor, the updates will go much faster.  The
  303. program will still work without a coprocessor, but you might notice
  304. something of a delay before the new sky is displayed.
  305.  
  306.    You can use a mouse to select a particular object, or to change the
  307. azimuth or elevation angle of the observer, but a mouse is not required.
  308. A graphics cursor is also provided so that selection can be made using
  309. only the keyboard.
  310.  
  311.    The program and all the data files occupy only about 386K of RAM when
  312. running, so expanded/extended memory is not needed.  The hard disk
  313. requirements are much less: about 276K if "starware.exe" is retained,
  314. and about 282K if "staremw.exe" is kept instead.
  315. ______________________________________________________________________
  316.  
  317. INSTALLATION AND STARTUP
  318.  
  319.    If you have downloaded these routines from a BBS, all the files which 
  320. are necessary to run STARWARE are compressed in the STAR32.ZIP file. If
  321. you have received a physical disk, the programs have already been
  322. expanded. There are two main .EXE programs: STARWARE.EXE and STAREMW.EXE;
  323. the first should be used if you have a math coprocessor and at least an
  324. 80286 CPU.  The other one ("STAR EMulation Ware") can be used with any
  325. DOS machine.  STAREMW.EXE is larger than STARWARE.EXE, and uses only 8086
  326. commands, so it runs a little slower; if you have a math coprocessor it
  327. will use it, otherwise it will emulate a coprocessor.
  328.  
  329.    Depending on your system, you should keep only one of these two .EXE
  330. files; the other simply uses up space on your disk.
  331.  
  332.    The program assumes that all the needed data files are in the same
  333. directory as the main .EXE file: keep them all together.
  334.  
  335.    To run STARWARE, switch to the disk (or directory) that has all of
  336. these files, and simply type STARWARE (or STAREMW).  The type of graphics
  337. card and the monitor will be detected automatically, and the STARWARE
  338. logo will be presented.  Follow the on-screen directions to navigate
  339. through the rest of the program.  You can view a summary of the available
  340. commands at any time by hitting the F1 key.
  341.  
  342.    When a sky map is displayed, hitting "v" or "V" will bring up a
  343. "Variable List" menu.  This can be used to make changes in any of the
  344. physical parameters: time, location, etc., and should be used to make
  345. either large changes (e.g., 100,000 years) or very precise changes
  346. (e.g., the latitude of the observer is 34.1563 degrees).  Please note
  347. that all the time parameters are given in "Local Time": the difference
  348. between Local Time and Universal Time (the nominal time in Greenwich,
  349. England) is an adjustable parameter that can be set using the "Variable
  350. List" menu.  This Local Time convention includes hours, days and years.
  351. Also be aware that the longitudes are given in degrees East; this means
  352. that Los Angeles (for example) is at 240 degrees (or -120 degrees, both
  353. are accepted).
  354.  
  355.    Another very useful command is "f".  This calls the "find" function,
  356. and asks for the name of the object that you want to locate.  If it can
  357. be found, the screen will change so that it is placed near the middle
  358. of the display, and, if a mouse is available, its cursor (whether it is
  359. currently displayed or not) will move to point at the object.
  360.  
  361.    When you exit the program (by hitting ESC or "q"), the current
  362. settings are saved in the "STARINI.DAT" file; these will be used as the
  363. defaults for the next STARWARE session.
  364. ______________________________________________________________________
  365.  
  366. FINAL THOUGHTS
  367.  
  368.    I started to develop this STARWARE program several years ago; it was
  369. really just a way to learn C.  As things progressed, it turned out that
  370. it was necessary to learn a bit about assembly language, EGA and VGA
  371. graphics hardware, and an awful lot about astronomy.  (Often at a more
  372. or less "cultural" level: what is the "right" way to draw the
  373. constellations??)
  374.  
  375.    This has been, and will continue to be, a long-term project.  I've
  376. thoroughly enjoyed developing the program and am very pleased with the
  377. results.  I hope you will be too.
  378.  
  379.    Questions, comments, bug discoveries, are all welcome.  Please send
  380. them to me at the address given earlier.
  381.  
  382.    Thanks.
  383.